package com.trkj.dao.jpa;

import java.util.List;

import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;

import com.trkj.pojos.CcHospFloor;

public interface CcHospFloorDAO extends CrudRepository<CcHospFloor, Long>{
	@Query("select c.floorName from CcHospFloor c where c.floorId=?1")
	public String queryName(long d);
	@Query("select c from CcHospFloor c")
	public List<CcHospFloor> queryByAll(Pageable pageable);
}
